capacitor and resistor in parallel